package com.sicnu.estatemanagement.domain;

import org.springframework.stereotype.Service;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName Cars 车辆实体类（车辆表tb_car）
 * @Description TODO
 * @Auther FanLin
 * @Date 2022/4/22 22:24
 * @Version 1.0
 **/
@Table(name = "tb_car")
public class Cars implements Serializable {


    @Id
    private Integer id; //车辆id
    private String picture; //车辆照片
    private String ownerName; //所属成员
    private String color; //车辆颜色
    private String carNumber; //车辆编号
    private String remark; //备注
    private Date createTime; //创建时间
    private Date updateTime; //更新时间

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public String getOwnerName() {
        return ownerName;
    }

    public void setOwnerName(String ownerName) {
        this.ownerName = ownerName;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getCarNumber() {
        return carNumber;
    }

    public void setCarNumber(String carNumber) {
        this.carNumber = carNumber;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
